home *** CD-ROM | disk | FTP | other *** search
- MV - Move files (Rainbow or IBM PC)
-
- mv [-qv!] file,file,... target
-
- Filespecs may contain a drive and/or a directory specification
- and wildcard characters.
-
- If only one file is being moved, the target may be a file name
- or a directory name. In the latter case, the source file name
- is used in the target directory. If multiple filespecs are
- given or wildcard characters are used, the target must be a
- directory name only. The file name of each file moved is used
- to make the target file name.
-
- The target must be on the same drive as the source.
-
- If a source filespec contains a drive and/or directory, these
- are passed along to the subsequent source filespecs until
- reassigned; thus
-
- mv \src\*.c,*.obj,\exe\*.* \save
-
- is the same as
-
- mv \src\*.c,\src\*.obj,\exe\*.* \save
-
- and
-
- mv b:bob,carol,\tmp\ted,alice b:\bed
-
- is shorthand for
-
- mv b:bob,b:carol,b:\tmp\ted,b:\tmp\alice b:\bed
-
- If a target file exists, mv normally asks for verification
- before overwriting.
-
- If the source and target files are on the same drive, the file
- is renamed and/or moved to the new directory without physically
- copying the data. If the move is across drives, CP is spawned
- to do the copy and the source file is deleted if the copy
- succeeds; CP.EXE must be in the current directory or in the
- search path given by the DOS PATH variable.
-
- Options:
-
- -v (verify)
-
- Causes user confirmation to be requested before moving. At
- each file prompt the user answers either Y (do the copy), ! (do
- the move and don't ask for confirmation on future files), or N
- (don't move this file). Any other answer is the same as N.
-
- -q (quiet)
-
- Supresses informational move messages.
-
- -! (hammer!)
-
- Supresses the verification which is normally requested (even
- without -v) before overwriting an existing file.
-
- Options may be combined as in
-
- mv -q! ...
-
- The mv! command is a shorthand for mv -!. Usage is
-
- mv! [-q] file,file,... target
-
- Written by Bryan Higgins. This program may be distributed
- freely as long as it is not sold for profit.
-
- The author may be reached at
-
- 1802 Channing Way
- Berkeley, CA 94703
-
- One of the Kramden Utilities.
-